import Base from '../../static/js/base'
class ProductList extends Base{
	constructor() {
		super();
	}
	// 商品列表
	product_list(page,name,sales,new_products,size_money,product_type_id,callBack) {
		var that = this;
		var params = {
		  url: 'index/product_list',
		  data:{
			  type:4,
			  page:page,
			  name:name,
			  sales:sales,
			  new_products:new_products,
			  size_money:size_money,
			  product_type_id:product_type_id,			
		  },
		  sCallBack: function (res) {
			callBack && callBack(res.data);
		  }
		};
		that.request(params);
	};
}

export default ProductList	